#!/bin/bash
link_script=$(bash get_aliyun.sh)
echo "curl $link_script | bash && exit" | sshpass -p $2 ssh -o "StrictHostKeyChecking no" -o ServerAliveInterval=20 root@$1
echo "cd minescript && python3 script.py" | bash aliyun_reconnect.py $1 $2
#sshpass -p $2 ssh -o "StrictHostKeyChecking no" -o ServerAliveInterval=20 root@$1
#sshpass -p $2 ssh -o "StrictHostKeyChecking no" -o ServerAliveInterval=20 -t "curl https://termbin.com/$3 | bash" root@$1
